﻿using XEvolve.Core.Runtime;
using XEvolve.Core.Runtime.Attributes;
using XEvolve.Presentation;

namespace Demo.Client.Presentation
{
    [PluginId("demo.client.presentation")]
    public class ClientPresentationPlugin : Plugin
    {
        public ClientPresentationPlugin([Required("xevolve.core", "xevolve.presentation")]Plugin[] dependencies)
            : base(dependencies)
        {
        }

        protected override void Initialize(Platform platform)
        {
            platform.Registry.RegisterView<Main>("/Main");
        }
    }
}
